home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
health
/
herbal30.zip
/
CLONE.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-12-13
|
5KB
|
234 lines
@echo off
cls
if "%1"=="A" goto A
if "%1"=="a" goto A
if "%1"=="A:" goto A
if "%1"=="a:" goto A
if "%1"=="B" goto B
if "%1"=="b" goto B
if "%1"=="B:" goto B
if "%1"=="b:" goto B
if "%1"=="C" goto C
if "%1"=="c" goto C
if "%1"=="C:" goto C
if "%1"=="c:" goto C
if "%1"=="D" goto D
if "%1"=="d" goto D
if "%1"=="D:" goto D
if "%1"=="d:" goto D
if "%1"=="E" goto E
if "%1"=="e" goto E
if "%1"=="E:" goto E
if "%1"=="e:" goto E
echo This will copy DR. WEED'S E-HERBAL to another disk drive.
choice /c:ABCDEQ Select drive A, B, C, D, E or Q to Quit
if errorlevel 255 goto E
if errorlevel 6 goto end
if errorlevel 5 goto E
if errorlevel 4 goto D
if errorlevel 3 goto C
if errorlevel 2 goto B
if errorlevel 1 goto A
if errorlevel 0 goto F
:F
cls
echo This will copy DR. WEED'S E-HERBAL to drive A:
echo Press any key to continue. . . Or, if you want to copy
echo to a drive other than A: do the following: Abort now,
echo (using Ctrl+Break), get to a DOS prompt (exit the E-Herbal
echo first if you have to), and then from the DOS prompt of the
echo subdirectory containing clone.bat, enter "Clone B" where
echo "B" is the disk drive you want to copy to. NOTE: The E-
echo HERBAL takes up over 600K of disk space and will not fit
echo on a 360K floppy. If you want to put it on a 360K floppy,
echo you will have to compress the files--or distribute a
echo version that is already compressed. (Ctrl+Break to abort)
pause
goto A
:C
set drive=C
goto CC
:D
set drive=D
goto CC
:E
set drive=E
:CC
echo This will copy DR. WEED'S E-HERBAL to drive %drive%:
echo creating a new subdirectory called %drive%:\herbs
echo (Ctrl+Break to abort)
pause
echo Making new subdirectory \herbs on drive %drive%:
md %drive%:\herbs
cd %drive%:\
if exist go.bat goto 0
echo go.bat not found
goto 00
:0
echo copying go.bat %drive%:\herbs.bat
copy go.bat %drive%:\herbs.bat
:00
cd %drive%:\herbs
goto AAA
:A
set drive=A
goto AA
:B
set drive=B
:AA
echo Put new formatted diskette in drive %drive%:
pause
:AAA
if exist file1 goto 1
echo file1 not found
pause
goto 2
:1
echo copying file1 to drive %drive%:
copy file1 %drive%:
:2
if exist file2 goto 2A
echo file2 not found
pause
goto 3
:2A
echo copying file2 to drive %drive%:
copy file2 %drive%:
:3
if exist file3 goto 3A
echo file3 not found
pause
goto 4
:3A
echo copying file3 to drive %drive%:
copy file3 %drive%:
:4
if exist file4 goto 4A
echo file4 not found
pause
goto 5
:4A
echo copying file4 to drive %drive%:
copy file4 %drive%:
:5
if exist file5 goto 5A
echo file5 not found
pause
goto 6
:5A
echo copying file5 to drive %drive%:
copy file5 %drive%:
:6
if exist file6 goto 6A
echo file6 not found
pause
goto 7
:6A
echo copying file6 to drive %drive%:
copy file6 %drive%:
:7
if exist file7 goto 7A
echo file7 not found
pause
goto 8
:7A
echo copying file7 to drive %drive%:
copy file7 %drive%:
:8
if exist file8 goto 8A
echo file8 not found
pause
goto 9
:8A
echo copying file8 to drive %drive%:
copy file8 %drive%:
:9
if exist file9 goto 9A
echo file9 not found
pause
goto 10
:9A
echo copying file9 to drive %drive%:
copy file9 %drive%:
:10
if exist file10 goto 10A
echo file10 not found
pause
goto 11
:10A
echo copying file10 to drive %drive%:
copy file10 %drive%:
:11
if exist file11 goto 11A
echo file11 not found
pause
goto 12
:11A
echo copying file11 to drive %drive%:
copy file11 %drive%:
:12
if exist order.exe goto 12A
echo order.exe not found
pause
goto 13
:12A
echo copying order.exe to drive %drive%:
copy order.exe %drive%:
:13
if exist order.frm goto 13A
echo order.frm not found
pause
goto 14
:13A
echo copying order.frm to drive %drive%:
copy order.frm %drive%:
:14
if exist herbs.exe goto 14A
echo herbs.exe not found
pause
goto 15
:14A
echo copying herbs.exe to drive %drive%:
copy herbs.exe %drive%:
:15
if exist book.cfg goto 15A
echo book.cfg not found
pause
goto 16
:15A
echo copying book.cfg to drive %drive%:
copy book.cfg %drive%:
:16
if exist clone.bat goto 16A
echo clone.bat not found
pause
goto 17
:16A
echo copying clone.bat to drive %drive%:
copy clone.bat %drive%:
:17
if exist go.bat goto 17A
echo go.bat not found
pause
goto 18
:17A
echo copying go.bat to drive %drive%:
copy go.bat %drive%:
:18
if not exist file_id.diz goto 19
echo copying file_id.diz %drive%:
copy file_id.diz %drive%:
:19
if not exist herbal??.sda goto 20
echo copying herbal??.sda %drive%:
copy herbal??.sda %drive%:
:20
if %drive%==A goto end
if %drive%==B goto end
cd %drive%:\
echo DR. WEED'S E-HERBAL is now located in subdirectory %drive%:\herbs
echo Enter Herbs to start program.
pause
:end